package com.crm.service.crm.businessOpportunities.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.model.crm.businessOpportunities.pojo.Records;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecordsMapper extends BaseMapper<Records> {
    @Select("select * from crm_communication_records where custom_id = #{id}")
    public List<Records> getByCustomId(Integer id);
}
